#example6_15_single_hlines_vlines.py
#coding=utf-8
import matplotlib.pyplot as plt
plt.rcParams['font.size']=15  #改变默认字体大小
plt.hlines(0.5,-1,2,colors=["red"],linestyles=["dashed"])
plt.vlines(0.5,-1,2,colors=["blue"],linestyles=["dashdot"])
plt.show()
